Sets the type of the button defined by the ButtonTypeValues enum.
Note: Not all the button types are made for Touch Bars, so not all of them will work in such context.
NSButton Class